package com.oceansoft.mobile.econsole.modules.movecar.persistence;

import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.movecar.entity.MoveCar;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2016/2/4.
 */
@Repository
public interface IMoveCarMapper {

    int saveMoveCar(MoveCar moveCar);

    List<MoveCar> loadMoveCarsByCondition(Query query);

    MoveCar findById(String id);

    int updateMoveCar(MoveCar moveCar);

    int updateCarOwnerInfo(MoveCar moveCar);
}
